package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单项目对象 bdm_order_item
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BdmOrderItem
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 商品分类id */
    @Excel(name = "商品分类id")
    private Long goodTypeId;

    /** 商品分类名称 */
    @Excel(name = "商品分类名称")
    private String goodTypeName;

    /** 供应商商品id */
    @Excel(name = "供应商商品id")
    private String supplierGoodId;

    /** 商品id */
    @Excel(name = "商品id")
    private String storeGoodId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal goodPrice;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private String goodCount;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 本单获取积分 */
    @Excel(name = "本单获取积分")
    private String gainIntegral;

    /** 本单扣除积分 */
    @Excel(name = "本单扣除积分")
    private String deductIntegral;

    /** 是否 评价 1已评价 2未评价 */
    @Excel(name = "是否 评价 1已评价 2未评价")
    private Long ifEvaluate;


    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
